<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.3.3/themes/default/style.min.css"/>
  <link rel="stylesheet" href="css/common.css">
  <link rel="stylesheet" href="css/search-panel.css">
  <link rel="stylesheet" href="css/scene-viewer.css">
  <link rel="stylesheet" href="css/camera_controls.css">
  <link rel="stylesheet" href="css/toolbar.css">
  <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css">
  <title>Scene Viewer</title>
  <meta charset="utf-8">
</head>

<body>
<!-- UI Markup -->

<div id="sidebar">
  <div id="info">
    Scene Viewer
  </div>
  <div>
    <!--<select id="selectScene" title="Select Scene"></select>-->
  </div>

  <div id="tabs">
    <ul>
      <li><a href="#tabs-1">Scenes</a></li>
      <li><a href="#tabs-2">Models</a></li>
      <li><a href="#tabs-3">Scene Hierarchy</a></li>
      <li><a href="#tabs-4">BVH</a></li>
      <li><a href="#tabs-5">Scene Generator Config</a></li>
      <!--<li><a href="#tabs-6">Annotate</a></li>-->
    </ul>
    <div id="tabs-1">
      <div id="sceneSearchPanel" class="searchPanel">
      </div>
    </div>
    <div id="tabs-2">
      <div id="modelSearchPanel" class="searchPanel">
      </div>
    </div>
    <div id="tabs-3">
      <div id="sceneHierarchy">
      </div>
    </div>
    <div id="tabs-4">
      <div id="sceneBVH">
      </div>
    </div>
    <div id="tabs-5">
      <div id="sceneGenConfig">
      </div>
    </div>
    <!--<div id="tabs-6" style="height: 400px;">
      <div id="sceneAnnotate">
      </div>
    </div>-->
  </div>
</div>
<div id="textScenePanel" class="roundBorder grayBackground" style="display:none">
  <span id="textSceneCaption">Scene Description</span>
  <div id="textSceneForm">
    Please enter an textual description of your scene and <br/> click "Create" to create a scene based on your description
    <br/>
    <textarea rows="4" cols="50" id="sceneDescription" title="Scene Description"></textarea>
    <br/>
    <input type=button id="createSceneButton" value="Create"/>
  </div>
</div>
<div id="contextQueryResultsContainer" class="roundBorder"></div>
<div id="sceneTemplatePanel" class="roundBorder grayBackground">
  <div id="sceneTemplateTitle">Scene Template</div>
  <div id="graph" class="sceneTemplateViewer"></div>
</div>
<div id="customLoadingPanel" class="roundBorder grayBackground">
  <div id="customLoadingContents">
    <span class="input-group-btn">
      <span id="browse" class="btn btn-default btn-file">
        Load <input id="loadLocalFile" type="file">
      </span>
    </span>
    <input id="loadLocalFilename" type="text" class="form-control" readonly>
  </div>
</div>
<div id="main">
  <div id="cameraControls"></div>
  <div id="sceneToolbar" class="toolbar"></div>
  <div id="canvas">
  </div>
  <div id="console" class="console" style="display:none"></div>
  <div id="instructionsPanel" class="roundBorder grayBackground" style="display:none">
    <span>Instructions</span>
    <p id="instructions"></p>
  </div>
  <div id="loadingModel">
    <span>Loading Model...</span>
  </div>
</div>

<!-- This is ridiculous!!!! We need a system where all dependencies are specified in one place.
     Please revert back to using require.js and get rid of these -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.3.3/jstree.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.12/d3.min.js"></script>
<!-- Special bootbox -->
<script src="client/js/vendor/bootbox.form.min.js"></script>
<script src="three.min.js"></script>
<!-- <script src="three.js"></script> -->
<script src="common.bundle.js"></script>
<script src="sceneViewer.bundle.js"></script>
<link rel="stylesheet" href="css/datgui-light.css">
</body>
</html>
